Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antora #2564

Merged
merged 18 commits into from
Dec 5, 2023
Merged

Antora #2564

merged 18 commits into from
Dec 5, 2023

Conversation

rwinch
Copy link
Member

@rwinch rwinch commented Dec 5, 2023

No description provided.

@@ -0,0 +1,33 @@
name: Deploy Docs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this GHA workflow file is some kind of duplication and out of use.
Or is that a new approach how things go from now on?
Then why do we need it then in the top-level .github/workflows?..

build.gradle Outdated
modifiedFiles =
files(grgit.status().unstaged.modified).filter{ f -> f.name.endsWith('.java') || f.name.endsWith('.kt') }
modifiedFiles = providers.provider {
files(grgit.status().unstaged.modified).filter{ f -> f.name.endsWith('.java') || f.name.endsWith('.kt') }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my experience in other projects this has to be like this:

    modifiedFiles =
            files()
                    .from {
                        files(grgit.status().unstaged.modified)
                                .filter { f -> f.name.endsWith('.java') || f.name.endsWith('.kt') }
                    }
    modifiedFiles.finalizeValueOnRead()

Lazy, once calculated on demand and cached.

format: pretty
ui:
bundle:
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.3.4/ui-bundle.zip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we have already much fresh version for this: https://github.com/spring-io/antora-ui-spring/releases.
Any particular reason to stay on the old one, please?

build.gradle Outdated Show resolved Hide resolved
@artembilan artembilan added this to the 3.1.1 milestone Dec 5, 2023
@artembilan artembilan merged commit 9cc8e49 into spring-projects:main Dec 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants